package com.qianfeng.mybatis.simple.pojo;


public class TPassenger {

  private Long id;
  private String name;
  private String sex;
  private java.util.Date birthday;

  private TPassports tPassports;


  public TPassports gettPassports() {
    return tPassports;
  }

  public void settPassports(TPassports tPassports) {
    this.tPassports = tPassports;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }


  public java.util.Date getBirthday() {
    return birthday;
  }

  public void setBirthday(java.util.Date birthday) {
    this.birthday = birthday;
  }

  @Override
  public String toString() {
    return "TPassenger{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", sex='" + sex + '\'' +
            ", birthday=" + birthday +
            ", tPassports=" + tPassports +
            '}';
  }
}
